cURL
curl --request POST \ --url https://api.us1.bfl.ai/v1/flux-pro-finetuned \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "finetune_id": "my-finetune", "finetune_strength": 1.1, "steps": 40, "guidance": 2.5, "prompt": "ein fantastisches bild", "image_prompt": "<string>", "width": 1024, "height": 768, "prompt_upsampling": false, "seed": 42, "safety_tolerance": 2, "output_format": "jpeg", "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image generation task with FLUX [pro] finetune.
Successful Response
The response is of type object.
object
Was this page helpful?